package com.wordLearning.word.domain.service;

import com.wordLearning.word.common.entity.PageResult;
import com.wordLearning.word.domain.entity.FavoriteWordBO;
import com.wordLearning.word.domain.entity.PlanBO;
import com.wordLearning.word.domain.entity.UnmasteredWordBO;
import com.wordLearning.word.domain.entity.WordBO;
import com.wordLearning.word.infra.basic.entity.LearningRecord;

import java.util.List;

public interface LearningdomainService {
    List<PageResult<WordBO>> setLearningPlan(PlanBO planBO);

    void add(LearningRecord learningRecord);

    void forget(UnmasteredWordBO unmasteredWordBO);

    void favorite(FavoriteWordBO favoriteWordBO);

    int remember(UnmasteredWordBO unmasteredWordBO);

    int cancelFavorite(FavoriteWordBO favoriteWordBO);
}
